package cn.tedu.antcolony.passport.pojo.vo;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色
 * CREATE TABLE ams_role
 * (
 *     id           bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '数据id',
 *     name         varchar(50)         not NULL COMMENT '名称',
 *     description  varchar(255)        DEFAULT NULL COMMENT '简介',
 *     sort         tinyint(3) unsigned not NULL COMMENT '排序序号',
 *     gmt_create   datetime            DEFAULT NULL COMMENT '数据创建时间',
 *     gmt_modified datetime            DEFAULT NULL COMMENT '数据最后修改时间',
 *     PRIMARY KEY (id)
 * ) ENGINE=InnoDB DEFAULT CHARSET = utf8mb4 COMMENT ='角色';
 */
@Data
public class RoleListVo implements Serializable {
    /**
     * 角色id
     */
    private Long id;

    /**
     * 角色名称
     */
    private String name;

    private String description;

    private Integer sort;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;
}
